package Text_38;

public class Buy {

	public static void main(String[] args) {
		//百元买百鸡
		int g, m, z;
		for (g = 0; g <= 20; g++)
			for (m = 0; m <= 33; m++)
				for (z = 3; z <= 99; z++)
					if (5 * g + 3 * m + (z / 3) == 100)
						if (g + m + z == 100)
							if (z % 3 == 0)
									System.out.println(g+" "+m+" "+z);
		

	}

}
